//
//  ZCXPetPictureModel.m
//  LoveOfPet
//
//  Created by dllo on 15/11/18.
//  Copyright © 2015年 孔维. All rights reserved.
//

#import "ZCXPetPictureModel.h"

@implementation ZCXPetPictureModel
- (void)dealloc{
    [_behot_time release];
    [_middle_height release];
    [_middle_url release];
    [_middle_width release];
    [_Description release];
    [_share_url release];
    [_comment_count release];
    [_group_id release];
    [_thumbnail_url release];
    [super dealloc];
}
- (id)initWithDictionary:(NSDictionary *)dictionary{
    self = [super init];
    if (self) {
        [self setValuesForKeysWithDictionary:dictionary];
    }
    return self;
}
+ (ZCXPetPictureModel *)ZCXPetPictureModelWithDictionay:(NSDictionary *)dictionary{
    ZCXPetPictureModel *petPicture = [[ZCXPetPictureModel alloc]initWithDictionary:dictionary];
    return [petPicture autorelease];
}
- (void)setValue:(id)value forUndefinedKey:(NSString *)key{
    if ([key isEqualToString:@"description"]) {
        self.Description = value;
    }
}
@end
